package com.bieyang.anjia.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.Button;
import android.widget.RelativeLayout;

import com.bieyang.anjia.R;

public class AcAnxinHelp extends BaseActivity {
	Button btnBack;
	RelativeLayout rlYuShe;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.anxin_help);
		initView();
	}

	private void initView() {
		OnClick onClick = new OnClick();
		btnBack = (Button) findViewById(R.id.btnBack);
		btnBack.setOnClickListener(onClick);

		//		rlYuShe  = (RelativeLayout)findViewById(R.id.rlYuShe);
		//		rlYuShe.setOnClickListener(onClick);
	}

	class OnClick implements android.view.View.OnClickListener {
		@Override
		public void onClick(View v) {
			switch (v.getId()) {
			case R.id.btnBack:
				finish();
				break;
			//			case R.id.rlYuShe:
			//				startActivity(new Intent(AcFindNews.this,AcMobanYushe.class));
			//				break;

			default:
				break;
			}

		}

	}

	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		if (keyCode == KeyEvent.KEYCODE_BACK) {
			finish();
			return true;
		}

		return super.onKeyDown(keyCode, event);
	}


}